﻿<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false" CodeBehind="mychat.aspx.cs" Inherits="weba.mychat" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta  http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script type="text/javascript" src="Scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript"src="xheditor-1.2.1.min.js"></script>

        <script type="text/javascript">
          
            function initialize() {
                $('#TextArea1').xheditor({ tools: 'none' });
                $('#TextArea2').xheditor({ tools: 'simple' });
                setInterval(function () {
                    //要执行的代码   
                    $('#form1').submit();
                }, 8000);
            }
    </script>
     
    <link href="css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

        
        .divbtn2 {
            margin-left: 351px;
            position: relative;
            top: 1px;
            left: 31px;
        }

        
    </style>
</head>
<body onload="initialize()">
    <form id="form1" runat="server">
    <div>
     
       <table width="635" height="631" border="0" id="tb1" cellpadding="0" cellspacing="0">
          <tr>
            <td height="48" colspan="2" ><img src="Images/PT_logo.gif" width="136" height="49"></td>
            <td width="307"  height="48"  valign="top"><div class="dja"></div></td>
            <td colspan="3"  height="48" ><img src="Images/PT_LibName.gif" width="195" height="49"></td>
          </tr>
          <tr>
            <td width="3" rowspan="5"  valign="top" > </td>
            <td width="133" height="26"><div class="pt-chatheader">您正与 <strong><span id="ToUserID">客服1</span></strong> 交谈</div></td>
            <td height="26"><div class="pt-chatheader">当前时间<%=System.DateTime.Now.ToShortDateString() %>></div></td>
            <td width="3" rowspan="4"></td>
            <td width="186"><div class="zjsm"><strong></span><span id="MyUserId">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;咨询者</span><span></strong></div></td>
            <td width="4" rowspan="4" valign="top" > </td>
          </tr>
          <tr>
            <td height="328" colspan="2" valign="top">
                <textarea id="TextArea1" runat="server" style=" width: 440px; height: 328px"></textarea>
              </td>
            <td valign="top" > <div id="Engin_UserList" class="pt-control"><h3 style="height: 38px">在线人数<span id="OnlineCount" ><%=weba.kefuchat.ycount.ToString() %>:</span></h3></span><span id="RightTop">
              <asp:Label ID="Label1" class="online" runat="server" Text="游客1" Height="30px" Width="111px"></asp:Label></span><span> </div></td>
          </tr>
          <tr>
            <td height="25" colspan="2"><div id="pwtol"></div></td>
            <td class="pt-appsend" >&nbsp;</td>
          </tr>
          <tr>
            <td height="160" colspan="2"><textarea id="TextArea2" runat="server" style="width: 439px; height: 160px"></textarea></td>
            <td><div class="gslogo"> <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/lxwm.jpg" />
<br />
    <span class="font12d"><strong>宁波中欣数码科技有限公司</strong></span><br />

    地址：浙江省宁波市江北区扬善路36号玛瑙大厦F楼6楼
<br />
     电话：0574-87723123
<br />
   传真：0574-56856632 </div></td>
          </tr>
          <tr>
            <td height="32" colspan="4" valign="top"><div class="btbor" >
              <div class="divbtn2">
                  
            <asp:Button ID="Button1" runat="server"  class="sendon" Text="发 送"  OnClick="Button1_Click" /></div></div></td>
            <td >&nbsp;</td>
          </tr>
  </table> 
   

    </div>
    </form>
</body>
</html>
